package com.earl.user.entity.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


@Data
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "persons")
@Component
public class Persions {

    private String username;

    private Integer age;

    private String[] pets;

    private List<String> list;

    private Map<String,String> friend;

    private List<Map<String,String>> children;

    private Employee employee;


}
